|
![](/i/fill.gif) |
Chris Huff wrote in message ...
>In article <3aed54c7@news.povray.org>, "Wlodzimierz ABX Skiba"
><abx### [at] abx art pl> wrote:
>
> > also in megapov there is inclusion of Chris Chuff which builds-in function
> > sign() to available keywords
>
> Actually, it's sgn()...I was too lazy to get it to work properly with
> "sign", which is already used elsewhere...and as far as I know, hasn't
> been added to MegaPOV for this reason. Since it won't be in POV 3.5, you
> might as well use a macro.
I found in tokenize.c entry
{SGN_TOKEN, "sgn"}, /*Chris Huff jan 2001*/
then look for SGN_TOKEN in other files and found in express.c
case SGN_TOKEN: /*Chris Huff "sign() function"*/
then forgot about sgn() and remembered sign()
but now I write:
#version unofficial megapov 0.7;
#warning concat(str(sgn(100),0,0),"\n")
and it won't work ???
> Oh, and it's Chris Huff. ;-)
I try remember ;-)
The reason is that both ("H" and "CH") have identical vocalizations in polish.
ABX
Post a reply to this message
|
![](/i/fill.gif) |